package com.swjd;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**开启基于注解的异步任务支持*/
@EnableAsync
@EnableScheduling //开启定时任务支持
@SpringBootApplication
public class SpringBootChapter09Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootChapter09Application.class, args);
    }

}
